{% extends 'Reservation/base.html' %}
{% block body_block %}
<div class="row clearfix">
		<div class="col-md-12 column">
			<h3 class="text-center text-primary">
				User Login
			</h3>
		</div>
	</div>
	<div class="row clearfix">
		<div class="col-md-4 column">
		</div>
		<div class="col-md-4 column">
            <form class="form-signin span4" id="login_form" method="post" action="/Reservation/login/">

        {% csrf_token %}

        {% if bad_details %}
        <p><strong>Your username and/or password were incorrect!</strong></p>
        {% elif disabled_account %}
        <p><strong>Your account is currently disabled; we can't log you in!</strong></p>
        {% endif %}

        Username: <input type="text" class="form-control" placeholder="Username" name="username" value="" size="50" />
        <br />
        Password: <input type="password" class="form-control" placeholder="Password" name="password" value="" size="50" />
        <br />
        <button class="btn btn-primary" type="submit">Sign in</button>
        </form>
		</div>
		<div class="col-md-4 column">
		</div>
	</div>
{% endblock %}